package com.youth.platform.task;

import org.apache.log4j.Logger;

import com.youth.framework.core.SystemContext;

public class KettleTask {
	public static Logger log = Logger.getLogger(KettleTask.class);
	public void kettleRun() {
		log.info("***********kettle任务开始>........");
//		String filePath = SystemContext.getServletContext().getRealPath(
//				"WEB-INF/resources/kettle/test1.kjb");
		try {
			//Kettle.runJob(filePath);
		} catch (Exception e) {
			log.error("***********kettle任务出现异常", e);
		}
		log.info("***********kettle任务结束!");
	}
}
